def generate_aliases(name):
    """Generate a list of possible aliases for a name by removing known clan
    tags or other suffixes and prefixes
    """

    results = []

    # Clan tag at beginng (ex: '[c]test')
    if name.startswith('['):
        results.append(name[name.find(']') + 1:])

    # Clan tag at end (ex: 'test[c]')
    if name.endswith(']'):
        results.append(name[0:name.find('[')])

    if name.endswith('_V_'):
        results.append(name[0:-3])

    if name.startswith('n.Die_'):
        results.append(name[6:])

    if name.startswith('Sparkyz '):
        results.append(name[8:])

    if name.startswith('Sea.'):
        results.append(name[4:])

    if name.startswith('By.'):
        results.append(name[3:])

    return [x for x in results if x != '']

